Version

DisplayActivityRecurrenceDialog(FrameworkElement,ActivityBase,Object,Func<Boolean>,Action<Nullable<Boolean>>) Method

Displays the Activity Recurrence dialog.
Syntax
'Declaration
 
Public Function DisplayActivityRecurrenceDialog( _
   ByVal container As FrameworkElement, _
   ByVal activity As ActivityBase, _
   ByVal header As Object, _
   ByVal closingCallback As Func(Of Boolean), _
   ByVal closedCallback As Action(Of Nullable(Of Boolean)) _
) As Boolean
public bool DisplayActivityRecurrenceDialog( 
   FrameworkElement container,
   ActivityBase activity,
   object header,
   Func<bool> closingCallback,
   Action<Nullable<bool>> closedCallback
)

Parameters

container
The FrameworkElement that will contain the dialog.
activity
The activity to edit.
header
The header (caption) of the dialog
closingCallback
A callback to call when when the window is closing, since the call to show the dialog may not be blocking.
closedCallback
A callback to call when when the window has closed, since the call to show the dialog may not be blocking.

Return Value

Returns true if the dialog was displayed; otherwise false is returned
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also